"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var icons_vue_1 = require("@element-plus/icons-vue");
// 导入所有子组件
var AddBrand_vue_1 = require("./components/AddBrand.vue");
var AddWarehouse_vue_1 = require("./components/AddWarehouse.vue");
var AddProduct_vue_1 = require("./components/AddProduct.vue");
var AddMember_vue_1 = require("./components/AddMember.vue");
var active = (0, vue_1.ref)(1); // 默认从 "新增仓库" (2) 开始，与截图一致
var nextStep = function () { if (active.value < 4)
    active.value++; };
var prevStep = function () { if (active.value > 1)
    active.value--; };
var finishSetup = function () { alert('期初建账流程完成！'); };
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['el-step__icon']} */ ;
/** @type {__VLS_StyleScopedClasses['el-step']} */ ;
/** @type {__VLS_StyleScopedClasses['el-step__icon']} */ ;
/** @type {__VLS_StyleScopedClasses['is-process']} */ ;
/** @type {__VLS_StyleScopedClasses['el-step__head']} */ ;
/** @type {__VLS_StyleScopedClasses['is-finish']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-background" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "initial-setup-page" }));
var __VLS_0 = {}.ElCard;
/** @type {[typeof __VLS_components.ElCard, typeof __VLS_components.elCard, typeof __VLS_components.ElCard, typeof __VLS_components.elCard, ]} */ ;
// @ts-ignore
ElCard;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign({ class: "setup-card" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign({ class: "setup-card" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4 = __VLS_3.slots.default;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "card-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({});
var __VLS_5 = {}.ElSteps;
/** @type {[typeof __VLS_components.ElSteps, typeof __VLS_components.elSteps, typeof __VLS_components.ElSteps, typeof __VLS_components.elSteps, ]} */ ;
// @ts-ignore
ElSteps;
// @ts-ignore
var __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5(__assign({ active: (__VLS_ctx.active), alignCenter: true }, { class: "setup-steps" })));
var __VLS_7 = __VLS_6.apply(void 0, __spreadArray([__assign({ active: (__VLS_ctx.active), alignCenter: true }, { class: "setup-steps" })], __VLS_functionalComponentArgsRest(__VLS_6), false));
var __VLS_9 = __VLS_8.slots.default;
// @ts-ignore
[active,];
var __VLS_10 = {}.ElStep;
/** @type {[typeof __VLS_components.ElStep, typeof __VLS_components.elStep, ]} */ ;
// @ts-ignore
ElStep;
// @ts-ignore
var __VLS_11 = __VLS_asFunctionalComponent(__VLS_10, new __VLS_10(__assign(__assign({ title: "新增品牌" }, { class: ({ 'is-process': __VLS_ctx.active === 1, 'is-finish': __VLS_ctx.active > 1 }) }), { icon: (__VLS_ctx.MoreFilled) })));
var __VLS_12 = __VLS_11.apply(void 0, __spreadArray([__assign(__assign({ title: "新增品牌" }, { class: ({ 'is-process': __VLS_ctx.active === 1, 'is-finish': __VLS_ctx.active > 1 }) }), { icon: (__VLS_ctx.MoreFilled) })], __VLS_functionalComponentArgsRest(__VLS_11), false));
// @ts-ignore
[active, active, icons_vue_1.MoreFilled,];
var __VLS_15 = {}.ElStep;
/** @type {[typeof __VLS_components.ElStep, typeof __VLS_components.elStep, ]} */ ;
// @ts-ignore
ElStep;
// @ts-ignore
var __VLS_16 = __VLS_asFunctionalComponent(__VLS_15, new __VLS_15(__assign(__assign({ title: "新增仓库" }, { class: ({ 'is-process': __VLS_ctx.active === 2, 'is-finish': __VLS_ctx.active > 2 }) }), { icon: (__VLS_ctx.SoldOut) })));
var __VLS_17 = __VLS_16.apply(void 0, __spreadArray([__assign(__assign({ title: "新增仓库" }, { class: ({ 'is-process': __VLS_ctx.active === 2, 'is-finish': __VLS_ctx.active > 2 }) }), { icon: (__VLS_ctx.SoldOut) })], __VLS_functionalComponentArgsRest(__VLS_16), false));
// @ts-ignore
[active, active, icons_vue_1.SoldOut,];
var __VLS_20 = {}.ElStep;
/** @type {[typeof __VLS_components.ElStep, typeof __VLS_components.elStep, ]} */ ;
// @ts-ignore
ElStep;
// @ts-ignore
var __VLS_21 = __VLS_asFunctionalComponent(__VLS_20, new __VLS_20(__assign(__assign({ title: "添加产品" }, { class: ({ 'is-process': __VLS_ctx.active === 3, 'is-finish': __VLS_ctx.active > 3 }) }), { icon: (__VLS_ctx.Goods) })));
var __VLS_22 = __VLS_21.apply(void 0, __spreadArray([__assign(__assign({ title: "添加产品" }, { class: ({ 'is-process': __VLS_ctx.active === 3, 'is-finish': __VLS_ctx.active > 3 }) }), { icon: (__VLS_ctx.Goods) })], __VLS_functionalComponentArgsRest(__VLS_21), false));
// @ts-ignore
[active, active, icons_vue_1.Goods,];
var __VLS_25 = {}.ElStep;
/** @type {[typeof __VLS_components.ElStep, typeof __VLS_components.elStep, ]} */ ;
// @ts-ignore
ElStep;
// @ts-ignore
var __VLS_26 = __VLS_asFunctionalComponent(__VLS_25, new __VLS_25(__assign(__assign({ title: "添加成员" }, { class: ({ 'is-process': __VLS_ctx.active === 4, 'is-finish': __VLS_ctx.active > 4 }) }), { icon: (__VLS_ctx.User) })));
var __VLS_27 = __VLS_26.apply(void 0, __spreadArray([__assign(__assign({ title: "添加成员" }, { class: ({ 'is-process': __VLS_ctx.active === 4, 'is-finish': __VLS_ctx.active > 4 }) }), { icon: (__VLS_ctx.User) })], __VLS_functionalComponentArgsRest(__VLS_26), false));
// @ts-ignore
[active, active, icons_vue_1.User,];
var __VLS_8;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "step-content-area" }));
if (__VLS_ctx.active === 1) {
    // @ts-ignore
    [active,];
    /** @type {[typeof AddBrand, ]} */ ;
    // @ts-ignore
    var __VLS_30 = __VLS_asFunctionalComponent(AddBrand_vue_1.default, new AddBrand_vue_1.default(__assign({ 'onNext': {} })));
    var __VLS_31 = __VLS_30.apply(void 0, __spreadArray([__assign({ 'onNext': {} })], __VLS_functionalComponentArgsRest(__VLS_30), false));
    var __VLS_33 = void 0;
    var __VLS_34 = void 0;
    var __VLS_35 = ({ next: {} },
        { onNext: (__VLS_ctx.nextStep) });
    // @ts-ignore
    [nextStep,];
    var __VLS_32;
}
else if (__VLS_ctx.active === 2) {
    // @ts-ignore
    [active,];
    /** @type {[typeof AddWarehouse, ]} */ ;
    // @ts-ignore
    var __VLS_37 = __VLS_asFunctionalComponent(AddWarehouse_vue_1.default, new AddWarehouse_vue_1.default(__assign({ 'onNext': {} }, { 'onPrev': {} })));
    var __VLS_38 = __VLS_37.apply(void 0, __spreadArray([__assign({ 'onNext': {} }, { 'onPrev': {} })], __VLS_functionalComponentArgsRest(__VLS_37), false));
    var __VLS_40 = void 0;
    var __VLS_41 = void 0;
    var __VLS_42 = ({ next: {} },
        { onNext: (__VLS_ctx.nextStep) });
    var __VLS_43 = ({ prev: {} },
        { onPrev: (__VLS_ctx.prevStep) });
    // @ts-ignore
    [nextStep, prevStep,];
    var __VLS_39;
}
else if (__VLS_ctx.active === 3) {
    // @ts-ignore
    [active,];
    /** @type {[typeof AddProduct, ]} */ ;
    // @ts-ignore
    var __VLS_45 = __VLS_asFunctionalComponent(AddProduct_vue_1.default, new AddProduct_vue_1.default(__assign({ 'onNext': {} }, { 'onPrev': {} })));
    var __VLS_46 = __VLS_45.apply(void 0, __spreadArray([__assign({ 'onNext': {} }, { 'onPrev': {} })], __VLS_functionalComponentArgsRest(__VLS_45), false));
    var __VLS_48 = void 0;
    var __VLS_49 = void 0;
    var __VLS_50 = ({ next: {} },
        { onNext: (__VLS_ctx.nextStep) });
    var __VLS_51 = ({ prev: {} },
        { onPrev: (__VLS_ctx.prevStep) });
    // @ts-ignore
    [nextStep, prevStep,];
    var __VLS_47;
}
else if (__VLS_ctx.active === 4) {
    // @ts-ignore
    [active,];
    /** @type {[typeof AddMember, ]} */ ;
    // @ts-ignore
    var __VLS_53 = __VLS_asFunctionalComponent(AddMember_vue_1.default, new AddMember_vue_1.default(__assign({ 'onPrev': {} }, { 'onFinish': {} })));
    var __VLS_54 = __VLS_53.apply(void 0, __spreadArray([__assign({ 'onPrev': {} }, { 'onFinish': {} })], __VLS_functionalComponentArgsRest(__VLS_53), false));
    var __VLS_56 = void 0;
    var __VLS_57 = void 0;
    var __VLS_58 = ({ prev: {} },
        { onPrev: (__VLS_ctx.prevStep) });
    var __VLS_59 = ({ finish: {} },
        { onFinish: (__VLS_ctx.finishSetup) });
    // @ts-ignore
    [prevStep, finishSetup,];
    var __VLS_55;
}
var __VLS_3;
/** @type {__VLS_StyleScopedClasses['page-background']} */ ;
/** @type {__VLS_StyleScopedClasses['initial-setup-page']} */ ;
/** @type {__VLS_StyleScopedClasses['setup-card']} */ ;
/** @type {__VLS_StyleScopedClasses['card-header']} */ ;
/** @type {__VLS_StyleScopedClasses['setup-steps']} */ ;
/** @type {__VLS_StyleScopedClasses['is-process']} */ ;
/** @type {__VLS_StyleScopedClasses['is-finish']} */ ;
/** @type {__VLS_StyleScopedClasses['is-process']} */ ;
/** @type {__VLS_StyleScopedClasses['is-finish']} */ ;
/** @type {__VLS_StyleScopedClasses['is-process']} */ ;
/** @type {__VLS_StyleScopedClasses['is-finish']} */ ;
/** @type {__VLS_StyleScopedClasses['is-process']} */ ;
/** @type {__VLS_StyleScopedClasses['is-finish']} */ ;
/** @type {__VLS_StyleScopedClasses['step-content-area']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
